=begin
** Form generated from reading ui file 'AddRule.ui'
**
** Created: Tue Mar 6 14:49:38 2012
**      by: Qt User Interface Compiler version 4.7.2
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
=end

class Ui_AddRule_MainWindow
    attr_reader :centralwidget
    attr_reader :frame
    attr_reader :lineEdit_5
    attr_reader :lineEdit_4
    attr_reader :label_2
    attr_reader :lineEdit
    attr_reader :listWidget
    attr_reader :label_7
    attr_reader :label_3
    attr_reader :label_6
    attr_reader :lineEdit_3
    attr_reader :label_5
    attr_reader :lineEdit_2
    attr_reader :label_4
    attr_reader :pushButton
    attr_reader :pushButton_2

    def setupUi(mainWindow)
    if mainWindow.objectName.nil?
        mainWindow.objectName = "mainWindow"
    end
    mainWindow.resize(662, 128)
    @centralwidget = Qt::Widget.new(mainWindow)
    @centralwidget.objectName = "centralwidget"
    @frame = Qt::Frame.new(@centralwidget)
    @frame.objectName = "frame"
    @frame.geometry = Qt::Rect.new(10, 10, 641, 111)
    @frame.frameShape = Qt::Frame::StyledPanel
    @frame.frameShadow = Qt::Frame::Raised
    @lineEdit_5 = Qt::LineEdit.new(@frame)
    @lineEdit_5.objectName = "lineEdit_5"
    @lineEdit_5.geometry = Qt::Rect.new(560, 40, 71, 27)
    @lineEdit_4 = Qt::LineEdit.new(@frame)
    @lineEdit_4.objectName = "lineEdit_4"
    @lineEdit_4.geometry = Qt::Rect.new(470, 40, 91, 27)
    @label_2 = Qt::Label.new(@frame)
    @label_2.objectName = "label_2"
    @label_2.geometry = Qt::Rect.new(90, 20, 111, 21)
    @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Minimum, Qt::SizePolicy::Preferred)
    @sizePolicy.setHorizontalStretch(0)
    @sizePolicy.setVerticalStretch(0)
    @sizePolicy.heightForWidth = @label_2.sizePolicy.hasHeightForWidth
    @label_2.sizePolicy = @sizePolicy
    @lineEdit = Qt::LineEdit.new(@frame)
    @lineEdit.objectName = "lineEdit"
    @lineEdit.geometry = Qt::Rect.new(90, 40, 111, 27)
    @listWidget = Qt::ListWidget.new(@frame)
    Qt::ListWidgetItem.new(@listWidget)
    Qt::ListWidgetItem.new(@listWidget)
    @listWidget.objectName = "listWidget"
    @listWidget.geometry = Qt::Rect.new(10, 20, 71, 51)
    @sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::Ignored, Qt::SizePolicy::Fixed)
    @sizePolicy1.setHorizontalStretch(0)
    @sizePolicy1.setVerticalStretch(0)
    @sizePolicy1.heightForWidth = @listWidget.sizePolicy.hasHeightForWidth
    @listWidget.sizePolicy = @sizePolicy1
    @label_7 = Qt::Label.new(@frame)
    @label_7.objectName = "label_7"
    @label_7.geometry = Qt::Rect.new(560, 20, 71, 21)
    @label_3 = Qt::Label.new(@frame)
    @label_3.objectName = "label_3"
    @label_3.geometry = Qt::Rect.new(210, 20, 51, 21)
    @label_6 = Qt::Label.new(@frame)
    @label_6.objectName = "label_6"
    @label_6.geometry = Qt::Rect.new(470, 20, 71, 21)
    @lineEdit_3 = Qt::LineEdit.new(@frame)
    @lineEdit_3.objectName = "lineEdit_3"
    @lineEdit_3.geometry = Qt::Rect.new(390, 40, 81, 27)
    @label_5 = Qt::Label.new(@frame)
    @label_5.objectName = "label_5"
    @label_5.geometry = Qt::Rect.new(10, 0, 67, 21)
    @sizePolicy2 = Qt::SizePolicy.new(Qt::SizePolicy::Fixed, Qt::SizePolicy::Preferred)
    @sizePolicy2.setHorizontalStretch(0)
    @sizePolicy2.setVerticalStretch(0)
    @sizePolicy2.heightForWidth = @label_5.sizePolicy.hasHeightForWidth
    @label_5.sizePolicy = @sizePolicy2
    @lineEdit_2 = Qt::LineEdit.new(@frame)
    @lineEdit_2.objectName = "lineEdit_2"
    @lineEdit_2.geometry = Qt::Rect.new(200, 40, 191, 27)
    @label_4 = Qt::Label.new(@frame)
    @label_4.objectName = "label_4"
    @label_4.geometry = Qt::Rect.new(400, 20, 61, 21)
    @pushButton = Qt::PushButton.new(@frame)
    @pushButton.objectName = "pushButton"
    @pushButton.geometry = Qt::Rect.new(360, 80, 131, 27)
    @pushButton_2 = Qt::PushButton.new(@frame)
    @pushButton_2.objectName = "pushButton_2"
    @pushButton_2.geometry = Qt::Rect.new(500, 80, 131, 27)
    mainWindow.centralWidget = @centralwidget

    retranslateUi(mainWindow)

    Qt::MetaObject.connectSlotsByName(mainWindow)
    end # setupUi

    def setup_ui(mainWindow)
        setupUi(mainWindow)
    end

    def retranslateUi(mainWindow)
    mainWindow.windowTitle = Qt::Application.translate("AddRule_MainWindow", "Rules_MainWindow", nil, Qt::Application::UnicodeUTF8)
    @label_2.text = Qt::Application.translate("AddRule_MainWindow", "Action             ", nil, Qt::Application::UnicodeUTF8)

    __sortingEnabled = @listWidget.sortingEnabled?
    @listWidget.sortingEnabled = false
    @listWidget.item(0).text = Qt::Application.translate("AddRule_MainWindow", "0 (block)", nil, Qt::Application::UnicodeUTF8)
    @listWidget.item(1).text = Qt::Application.translate("AddRule_MainWindow", "1 (trust)", nil, Qt::Application::UnicodeUTF8)

    @listWidget.sortingEnabled = __sortingEnabled
    @listWidget.toolTip = Qt::Application.translate("AddRule_MainWindow", "Trust.", nil, Qt::Application::UnicodeUTF8)
    @label_7.text = Qt::Application.translate("AddRule_MainWindow", "Protocol", nil, Qt::Application::UnicodeUTF8)
    @label_3.text = Qt::Application.translate("AddRule_MainWindow", "IP", nil, Qt::Application::UnicodeUTF8)
    @label_6.text = Qt::Application.translate("AddRule_MainWindow", "Family        ", nil, Qt::Application::UnicodeUTF8)
    @label_5.text = Qt::Application.translate("AddRule_MainWindow", "Trust           ", nil, Qt::Application::UnicodeUTF8)
    @label_4.text = Qt::Application.translate("AddRule_MainWindow", "Port          ", nil, Qt::Application::UnicodeUTF8)
    @pushButton.toolTip = ''
    @pushButton.text = Qt::Application.translate("AddRule_MainWindow", "Add rule", nil, Qt::Application::UnicodeUTF8)
    @pushButton_2.toolTip = ''
    @pushButton_2.text = Qt::Application.translate("AddRule_MainWindow", "Cancel", nil, Qt::Application::UnicodeUTF8)
    end # retranslateUi

    def retranslate_ui(mainWindow)
        retranslateUi(mainWindow)
    end

end

module Ui
    class AddRule_MainWindow < Ui_AddRule_MainWindow
    end
end  # module Ui

